package com.suray.wcs.service.pojo;


import java.util.HashMap;
import java.util.Map;

/**
 * @Description 代码明细表
 * @auther hujun
 * @create 2020-04-13 14:44
 */
public class SysBasedetailmst {
    private String codeid;      //代码主键
    private String dtcodeid;      //明细编码
    private String codevalue;      //参数值
    private String remark;      //备注说明
    private String creator;      //创建人
    private String createdate;      //创建日
    private String updateman;      //更新人
    private String updatedate;      //更新日
    private char actionflg;      //有效标志
    private char transflg;      //WEB同步标志
    private String chname;      //中文名称
    private String chsname;      //中文简称
    private String enname;      //英文名称
    private String ensname;      //英文简称
    private String jpname;      //日文名称
    private String jpsname;      //日文简称
    private String kpname;      //韩文名称
    private String kpsname;      //韩文简称


    public String getCodeid() {
        return codeid;
    }

    public void setCodeid(String codeid) {
        this.codeid = codeid;
    }

    public String getDtcodeid() {
        return dtcodeid;
    }

    public void setDtcodeid(String dtcodeid) {
        this.dtcodeid = dtcodeid;
    }

    public String getCodevalue() {
        return codevalue;
    }

    public void setCodevalue(String codevalue) {
        this.codevalue = codevalue;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public String getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }

    public char getActionflg() {
        return actionflg;
    }

    public void setActionflg(char actionflg) {
        this.actionflg = actionflg;
    }

    public char getTransflg() {
        return transflg;
    }

    public void setTransflg(char transflg) {
        this.transflg = transflg;
    }

    public String getChname() {
        return chname;
    }

    public void setChname(String chname) {
        this.chname = chname;
    }

    public String getChsname() {
        return chsname;
    }

    public void setChsname(String chsname) {
        this.chsname = chsname;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public String getEnsname() {
        return ensname;
    }

    public void setEnsname(String ensname) {
        this.ensname = ensname;
    }

    public String getJpname() {
        return jpname;
    }

    public void setJpname(String jpname) {
        this.jpname = jpname;
    }

    public String getJpsname() {
        return jpsname;
    }

    public void setJpsname(String jpsname) {
        this.jpsname = jpsname;
    }

    public String getKpname() {
        return kpname;
    }

    public void setKpname(String kpname) {
        this.kpname = kpname;
    }

    public String getKpsname() {
        return kpsname;
    }

    public void setKpsname(String kpsname) {
        this.kpsname = kpsname;
    }

    @Override
    public String toString() {
        return "SysBasedetailmst{" +
                "codeid='" + codeid + '\'' +
                ", dtcodeid='" + dtcodeid + '\'' +
                ", codevalue='" + codevalue + '\'' +
                ", remark='" + remark + '\'' +
                ", creator='" + creator + '\'' +
                ", createdate='" + createdate + '\'' +
                ", updateman='" + updateman + '\'' +
                ", updatedate='" + updatedate + '\'' +
                ", actionflg=" + actionflg +
                ", transflg=" + transflg +
                ", chname='" + chname + '\'' +
                ", chsname='" + chsname + '\'' +
                ", enname='" + enname + '\'' +
                ", ensname='" + ensname + '\'' +
                ", jpname='" + jpname + '\'' +
                ", jpsname='" + jpsname + '\'' +
                ", kpname='" + kpname + '\'' +
                ", kpsname='" + kpsname + '\'' +
                '}';
    }

    public Map<String, Object> toEnum(String name) {
        Map<String, Object> map = new HashMap<>();
        map.put("code", this.codevalue);
        map.put("name", name);
        return map;
    }
}
